treeview: Deprecate gtk_tree_view_set_destroy_count_func()
authorBenjamin Otte <otte@redhat.com>
Mon, 12 Dec 2011 10:55:28 +0000 (11:55 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Dec 2011 03:53:14 +0000 (04:53 +0100)
The accessibility code doesn't need it anymore.

gtk/gtktreeview.c
gtk/gtktreeview.h

index 7d2711ce4c43b125de9ab3e3337c63eba6983c93..73ba8c690c70fe378e8c93fadee12c12a2d5440f 100644 (file)
@@ -14692,6 +14692,8 @@ gtk_tree_view_create_row_drag_icon (GtkTreeView  *tree_view,
  * This function should almost never be used.  It is meant for private use by
  * ATK for determining the number of visible children that are removed when the
  * user collapses a row, or a row is deleted.
+ *
+ * Deprecated: 3.4: Accessibility does not need the function anymore.
  **/
 void
 gtk_tree_view_set_destroy_count_func (GtkTreeView             *tree_view,
index 697a61a79ba6f5ad386dc55ae8058b4e02028f04..879d21c33ec0f23e3567a0b9742b227d696758e4 100644 (file)
@@ -435,6 +435,7 @@ typedef void (* GtkTreeDestroyCountFunc)  (GtkTreeView             *tree_view,
                                           GtkTreePath             *path,
                                           gint                     children,
                                           gpointer                 user_data);
+GDK_DEPRECATED
 void gtk_tree_view_set_destroy_count_func (GtkTreeView             *tree_view,
                                           GtkTreeDestroyCountFunc  func,
                                           gpointer                 data,